﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderTracking.aspx.cs"
    Inherits="WMS6.Web.Outbound.OrderTracking" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>OrderTracking</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }     
        
		function showAction()
		{	
			var pos = getElementPos("btnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}
		
		function hiddenDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}
		}
		
            //验证数量方法
         function  VerifyTheQty(obj)
         {     
            var  oldqty = parseInt(obj.title);
            var  newqty = parseInt(obj.value);
            if(newqty >oldqty)
            {
            
              document.getElementById('lblMsg').innerText='丢失数量不能大于发货数量,丢失数量应小于'+oldqty;
              obj.value =0;
              obj.focus();
            }
         }       
    
             //锁屏
        function blockScreen() {
            //锁屏
            $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
        }
      
    </script>

</head>
<body>
    <form id="F7951" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <a></a>
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblOrderTracking" runat="server" CssClass="label_header" Text="出库跟踪"
                            meta:resourcekey="lblOrderTracking"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnReSearch%>"
                            OnClick="btnGoBack_Click" Enabled="false" />
                    </td>
                    <td>
                        <input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>"
                            class="button" onclick="showAction(); return false;" />
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,3)"
                id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">常规</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL2">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,3);"
                id="divM2">
                <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">发货明细</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR2">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL3">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,3);"
                id="divM3">
                <asp:Label ID="one3" CssClass="navigationlabel" runat="server" meta:resourcekey="one3">签收信息</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR3">
                </div>
            </div>
        </div>
        <div id="div_content">
            <div id="con_one_1" style="display: block;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTye" runat="server" CssClass="label" Text="订单类型" meta:resourcekey="lblTye"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOrderDate" runat="server" CssClass="label" Text="订单日期" meta:resourcekey="lblOrderDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtOrderID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" Enabled="False"
                                meta:resourcekey="ddlStatus">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:DropDownList ID="ddlType" runat="server" CssClass="mediumselectbox" Enabled="False"
                                meta:resourcekey="ddlType">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderDate" runat="server" Enabled="false" CssClass="textbox"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" meta:resourcekey="txtOrderDate"></asp:TextBox><%--<img src="../Images/calendar.gif" class="img"
                                    alt="请选择日期" onclick="setday(this,txtOrderDate)" />--%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label><font
                                color="red">*</font>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOrderGroup" runat="server" CssClass="label" Text="订单分组" meta:resourcekey="lblOrderGroup"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblReferenceNum" runat="server" CssClass="label" Text="采购订单号" meta:resourcekey="lblReferenceNum"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblRequestShipDate" runat="server" CssClass="label" Text="要求发货日期"
                                meta:resourcekey="lblRequestShipDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                src="../Images/icon_find.gif" id="imgOwnerID" runat="server" alt="select one item"
                                class="img" onclick="selectOwner();" />
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderGroup" runat="server" CssClass="textbox" Enabled="false"
                                meta:resourcekey="txtOrderGroup"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtReferenceNum" runat="server" CssClass="textbox" Enabled="false"
                                meta:resourcekey="txtReferenceNum"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtRequestShipDate" runat="server" Enabled="false" CssClass="textbox"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" meta:resourcekey="txtRequestShipDate"></asp:TextBox><%--<img src="../Images/calendar.gif"
                                    class="img" alt="请选择日期" onclick="setday(this,txtRequestShipDate)" />--%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblPriority" runat="server" CssClass="label" Text="优先级" meta:resourcekey="lblPriority"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTotalQty" runat="server" CssClass="label" Text="总订购量" meta:resourcekey="lblTotalQty"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblExternOrderID" runat="server" CssClass="label" Text="外部订单号1" meta:resourcekey="lblExternOrderID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblActualShipDate" runat="server" CssClass="label" Text="实际发货日期" meta:resourcekey="lblActualShipDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:DropDownList ID="ddlPriority" runat="server" CssClass="mediumselectbox" Enabled="false"
                                meta:resourcekey="ddlPriority">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtTotalQty" runat="server" CssClass="textbox" Enabled="false" meta:resourcekey="txtTotalQty"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtExternOrderID" runat="server" CssClass="textbox" Enabled="false"
                                meta:resourcekey="txtExternOrderID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtActualShipDate" runat="server" Enabled="false" CssClass="textbox"
                                meta:resourcekey="txtActualShipDate"></asp:TextBox><img src="../Images/calendar.gif"
                                    id="ImgactualShipDate" runat="server" class="img" alt="请选择日期" onclick="setday(this,txtActualShipDate)"
                                    visible="false" />
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblWareHouseID" runat="server" CssClass="label" Text="收货仓库" Visible="False"
                                meta:resourcekey="lblWareHouseID"></asp:Label>
                            <asp:Label ID="lblConsigneeID" runat="server" CssClass="label" Text="收货人代码" Visible="False"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblIntransitID" runat="server" CssClass="label" Text="转仓单号" Visible="False"
                                meta:resourcekey="lblIntransitID"></asp:Label>
                            <asp:Label ID="lblCCompany" runat="server" CssClass="label" Text="收货人名称" Visible="False"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblExternOrderID2" runat="server" CssClass="label" Text="外部订单号2" meta:resourcekey="lblExternOrderID2"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblDeliveryDate" runat="server" CssClass="label" Text="到货日期" meta:resourcekey="lblDeliveryDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:DropDownList ID="ddlWareHouseID" runat="server" CssClass="mediumselectbox" Visible="False"
                                meta:resourcekey="ddlWareHouseID">
                            </asp:DropDownList>
                            <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox" Visible="False"
                                Enabled="False"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtIntransitID" runat="server" CssClass="textbox" Visible="False"
                                Enabled="False" meta:resourcekey="txtIntransitID"></asp:TextBox>
                            <asp:TextBox ID="txtCCompany" runat="server" CssClass="textbox" Visible="False" Enabled="False"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtExternOrderID2" runat="server" Enabled="false" CssClass="textbox"
                                meta:resourcekey="txtExternOrderID2"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtDeliveryDate" runat="server" CssClass="textbox" Enabled="false"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" Height="18px" meta:resourcekey="txtDeliveryDate"></asp:TextBox><%--<img alt="请选择日期" class="img"
                                    onclick="setday(this,txtDeliveryDate)" src="../Images/calendar.gif" />--%>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOperator" runat="server" CssClass="label" Text="操作人" meta:resourcekey="lblOperator"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOperatingDate" runat="server" CssClass="label" Text="操作时间" meta:resourcekey="lblOperatingDate"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblAbnormal" runat="server" CssClass="label" Text="异常原因" meta:resourcekey="lblAbnormal"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblHandling" runat="server" CssClass="label" Text="处理方式" meta:resourcekey="lblHandling"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOperator" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtOperatingDate" runat="server" CssClass="textbox"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtOperatingDate)" />
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtAbnormal" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtHandling" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_2" style="display: none">
                <table style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <asp:GridView ID="gvShippedDetail" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                                    AllowPaging="True" CssClass="gridview" Width="1100px" DataKeyNames="PickDetailID,Status,IsPrintedShippingOrder"
                                    OnRowDataBound="gvShippedDetail_RowDataBound" OnPageIndexChanging="gvShippedDetail_PageIndexChanging"
                                    OnInit="gvShippedDetail_Init" OnSorting="gvShippedDetail_Sorting" meta:resourcekey="gvShippedDetail">
                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                    <PagerStyle CssClass="GridViewPageStyle" />
                                    <RowStyle CssClass="GridViewRowStyle" />
                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                    <Columns>
                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                        </asp:BoundField>
                                        <asp:TemplateField meta:resourcekey="TemplateField2">
                                            <HeaderTemplate>
                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7951','gvShippedDetail');"
                                                    onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvShippedDetail');"
                                                    meta:resourcekey="CheckBox1Resource3" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource3" />
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvShippedDetail');"
                                                    meta:resourcekey="CheckBox2Resource3" />
                                            </FooterTemplate>
                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="OrderID" HeaderText="订单号" FooterText="订单号" SortExpression="OrderID"
                                            meta:resourcekey="OrderID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="OrderLineId" HeaderText="行号" FooterText="行号" SortExpression="OrderLineId"
                                            meta:resourcekey="OrderLineId">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="PickDetailID" HeaderText="拣货单号" FooterText="拣货单号" SortExpression="PickDetailID"
                                            meta:resourcekey="PickDetailID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="IsPrintedShippingOrder" HeaderText="打印" FooterText="打印"
                                            SortExpression="IsPrintedShippingOrder" meta:resourcekey="IsPrinted">
                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Lot" HeaderText="批号" FooterText="批号" SortExpression="Lot"
                                            meta:resourcekey="Lot">
                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="LpnID" HeaderText="LPN" FooterText="LPN" SortExpression="LpnID"
                                            meta:resourcekey="LpnID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                            meta:resourcekey="SkuID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="StatusD" HeaderText="状态" FooterText="状态" SortExpression="StatusD"
                                            meta:resourcekey="StatusD">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                        <asp:TemplateField FooterText="已出数量" HeaderText="已出数量" SortExpression="ShippedQty"
                                            meta:resourcekey="ShippedQty">
                                            <ItemTemplate>
                                                <asp:Label ID="lblQty" runat="server" Text='<%# GetPreferenceDigit(Eval("Qty").ToString()) %>'
                                                    meta:resourcekey="lblQty"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="UomID" HeaderText="计量单位" FooterText="计量单位" SortExpression="UomID"
                                            meta:resourcekey="UomID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
                <div style="margin-left: 10px">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="Result_01">
                                总计：
                            </td>
                            <td class="Result_02">
                                <table>
                                    <tr>
                                        <td style="margin-right: 20px;">
                                            &nbsp; &nbsp;
                                        </td>
                                        <td>
                                            <asp:Label ID="lblShippedTotal" runat="server" Text="发货数量:" class="label"></asp:Label><asp:Label
                                                ID="lblShippedTotalQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="Result_03">
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="con_one_3" style="display: none">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td>
                            <asp:GridView ID="gvOrderTracking" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                                AllowPaging="True" CssClass="gridview" Width="1050px" DataKeyNames="LineID,NumberLost"
                                OnRowDataBound="gvOrderTracking_RowDataBound" OnInit="gvOrderTracking_Init" OnSorting="gvOrderTracking_Sorting"
                                meta:resourcekey="gvOrderTracking">
                                <FooterStyle CssClass="GridViewFooterStyle" />
                                <PagerStyle CssClass="GridViewPageStyle" />
                                <RowStyle CssClass="GridViewRowStyle" />
                                <HeaderStyle CssClass="GridViewHeaderStyle" />
                                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                <Columns>
                                    <asp:TemplateField meta:resourcekey="TemplateField2">
                                        <HeaderTemplate>
                                            <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7951','gvOrderTracking');"
                                                onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                            <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvOrderTracking');"
                                                meta:resourcekey="CheckBox1Resource3" />
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource3" />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvOrderTracking');"
                                                meta:resourcekey="CheckBox2Resource3" />
                                        </FooterTemplate>
                                        <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                        <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="LineID" HeaderText="行号" FooterText="行号" SortExpression="LineID"
                                        meta:resourcekey="LineID">
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                        meta:resourcekey="SkuID">
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:BoundField>
                                    <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SkuDescr"
                                        meta:resourcekey="SkuDescr">
                                        <ItemTemplate>
                                            <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SkuDescr") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridViewRowWidth_200" />
                                    </asp:TemplateField>
                                    <asp:TemplateField FooterText="订单数量" HeaderText="订单数量" SortExpression="OriginalQty"
                                        meta:resourcekey="OriginalQty">
                                        <ItemTemplate>
                                            <asp:Label ID="lblOriginalQty" runat="server" Text='<%# GetPreferenceDigit(Eval("OriginalQty").ToString()) %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:TemplateField>
                                    <asp:TemplateField FooterText="发货数量" HeaderText="发货数量" SortExpression="ShippedQty"
                                        meta:resourcekey="ShippedQty">
                                        <ItemTemplate>
                                            <asp:Label ID="lblShippedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("ShippedQty").ToString()) %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:TemplateField>
                                    <asp:TemplateField FooterText="签收数量" HeaderText="签收数量" SortExpression="ReceivedQty"
                                        meta:resourcekey="ReceivedQty">
                                        <ItemTemplate>
                                            <asp:Label ID="lblReceivedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("ReceivedQty").ToString()) %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="丢失数量" FooterText="丢失数量" meta:resourcekey="NumberLost">
                                        <ItemTemplate>
                                            <asp:TextBox ID="txtNumberLost" CssClass="textbox" runat="server" onblur="VerifyTheQty(this);"
                                                ToolTip='<%# Eval("ShippedQty").ToString() %>' Width="80px" Text='<%# GetPreferenceDigit(Eval("NumberLost").ToString()) %>'></asp:TextBox>
                                        </ItemTemplate>
                                        <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_100" />
                                        <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_100" />
                                    </asp:TemplateField>
                                    <asp:TemplateField FooterText="发货金额" HeaderText="发货金额" SortExpression="ExtendedPrice"
                                        meta:resourcekey="ExtendedPrice">
                                        <ItemTemplate>
                                            <asp:Label ID="lblExtendedPrice" runat="server" Text='<%# GetPreferenceDigit(Eval("ExtendedPrice").ToString()) %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:TemplateField>
                                    <asp:TemplateField FooterText="实收金额" HeaderText="实收金额" SortExpression="ReceivedPrice"
                                        meta:resourcekey="ReceivedPrice">
                                        <ItemTemplate>
                                            <asp:Label ID="lblReceivedPrice" runat="server" Text='<%# GetPreferenceDigit(Eval("ReceivedPrice").ToString()) %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridViewRowWidth_100" />
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr style="height: 30px">
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="actionDiv" style="background-color: #FFFFFF; position: absolute; display: none;
                border: none 0 black">
                <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnDelivery" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnDelivery" runat="server" Text="正常妥投" OnClientClick="blockScreen();"
                                OnClick="lnkbtnDelivery_Click" meta:resourcekey="lnkbtnDelivery"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnRejected" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnRejected" runat="server" Text="顾客拒收" OnClientClick="blockScreen();"
                                OnClick="lnkbtnRejected_Click" meta:resourcekey="lnkbtnRejected"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnLost" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnLost" runat="server" Text="全部丢失" OnClientClick="blockScreen();"
                                OnClick="lnkbtnLost_Click" meta:resourcekey="lnkbtnLost"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnPartLost" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnPartLost" runat="server" Text="部分丢失" OnClientClick="blockScreen();"
                                OnClick="lnkbtnPartLost_Click" meta:resourcekey="lnkbtnPartLost"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                        <td class="line" id="tdlnkbtnSettlement" runat="server" visible="false">
                            <asp:LinkButton ID="lnkbtnSettlement" runat="server" Text="货款结算" OnClientClick="blockScreen();"
                                OnClick="lnkbtnSettlement_Click" meta:resourcekey="lnkbtnSettlement"></asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </div>
            <input type="hidden" id="hiddenFlag" />
            <input type="hidden" id="hdnLineID" runat="server" />
            <input id="hdnOrderID" runat="server" type="hidden" />
            <input id="hdnFlag" runat="server" type="hidden" value="0" />
            <input id="hdnCopy" runat="server" type="hidden" />
            <input id="hdnOwnerID" runat="server" type="hidden" />
            <input id="hdnFrom" runat="server" type="hidden" />
            <input type="hidden" id="hdnTimeValue" runat="server" />
            <input type="hidden" id="hdnSelectIndex" runat="server" />
            <input type="hidden" id="hdnClickIndex" runat="server" />
            <input id="hdnContainerID" type="hidden" runat="server" />
        </div>
        <input type="hidden" id="hdnActionID" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
        <input type="hidden" id="hdnCreatedBy" runat="server" />
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenDiv();
			hiddenCalendarDiv();
		//-->
</script>
